Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: disable code duplication analysis for files under src/spec-types #918

Merged

Conversation

smoya
Copy link
Member

@smoya smoya commented Nov 30, 2023

Description

Code duplication analysis makes sense most of the time. However, for models and types related with different versions of the spec, duplication is completely expected.
This PR is blocked by such analysis.

This PR adds src/spect-types/*.ts to the previously existing list of exclusions. After that change, SonarCloud analysis should stop complaining about this.

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@smoya
Copy link
Member Author

smoya commented Nov 30, 2023

/rtm

@asyncapi-bot asyncapi-bot merged commit d34cb00 into asyncapi:next-major-spec Nov 30, 2023
20 checks passed
@smoya smoya deleted the ci/disableCodeDuplication branch November 30, 2023 16:51
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 3.0.0-next-major-spec.16 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants